sketching the derivative of a function